package nc.ui.budget.tools.NCLocator;

import nc.bs.framework.common.NCLocator;
import nc.itf.bugdet.audit.Iauditmain;
import nc.itf.bugdet.bx.IExpenses;
import nc.itf.bugdet.checked.IBdgt_checked;
import nc.itf.bugdet.checked.IChecked;
import nc.itf.bugdet.deviceproperties.Ideviceproperties;
import nc.itf.bugdet.downsent.IDownsent;
import nc.itf.bugdet.downsent.IDownsent_b;
import nc.itf.bugdet.formation.IFormation2;
import nc.itf.bugdet.generatorpk.IGeneratorpk;
import nc.itf.bugdet.kemu.IKemu;
import nc.itf.bugdet.other.IOther;
import nc.itf.bugdet.piaoju.Ipiaojutaizhang;
import nc.itf.bugdet.projectprop.Iprojectprop;
import nc.itf.bugdet.pubinfoget.IPubInfoGet;
import nc.itf.bugdet.report.Ireport;
import nc.itf.bugdet.sys.IBillNO;
import nc.itf.bugdet.uap.ITravel;
import nc.itf.bugdet.uap.Ibd_jobbasfil;
import nc.itf.bugdet.upmakespecial.Iupmakespecial;
import nc.itf.bugdet.zhixingbaobiao.Izhixingbaobiao;
import nc.itf.pub.IDBOperate;

public class MyNCLocator {
	private MyNCLocator() {

	}

	private static MyNCLocator locator = new MyNCLocator();

	public static MyNCLocator getLocator() {
		return locator;
	}

	private IChecked checked = null;

	private Iupmakespecial upmakespecial = null;

	private IDownsent_b downsent_b = null;

	private IDownsent downsent = null;

	private Iprojectprop projectprop = null;

	private IGeneratorpk generatorpk = null;

	private IFormation2 formation2 = null;

	private IBdgt_checked bdgt_checked = null;

	private IExpenses expenses = null;

	private IBillNO billNO = null;

	private Ibd_jobbasfil bd_jobbasfil = null;

	private ITravel travel = null;

	private IKemu kemu = null;

	private IPubInfoGet pubInfoGet = null;

	
	public IChecked getIChecked() {
		if (checked == null) {
			checked = (IChecked) NCLocator.getInstance().lookup(
					IChecked.class.getName());
		}
		return checked;
	}

	public Iupmakespecial getIupmakespecial() {
		if (upmakespecial == null) {
			upmakespecial = (Iupmakespecial) NCLocator.getInstance().lookup(
					Iupmakespecial.class.getName());
		}

		return upmakespecial;

	}

	public IDownsent_b getIDownsent_b() {
		if (downsent_b == null) {
			downsent_b = (IDownsent_b) NCLocator.getInstance().lookup(
					IDownsent_b.class.getName());
		}

		return downsent_b;
	}

	public IDownsent getIDownsent() {
		if (downsent == null) {
			downsent = (IDownsent) NCLocator.getInstance().lookup(
					IDownsent.class.getName());
		}
		return downsent;

	}

	public Iprojectprop getIprojectprop() {
		if (projectprop == null) {
			projectprop = (Iprojectprop) NCLocator.getInstance().lookup(
					Iprojectprop.class.getName());
		}
		return projectprop;
	}

	public IGeneratorpk getIGeneratorpk() {
		if (generatorpk == null) {
			generatorpk = (IGeneratorpk) NCLocator.getInstance().lookup(
					IGeneratorpk.class.getName());
		}
		return generatorpk;
	}

	public IFormation2 getIFormation2() {
		if (formation2 == null) {
			formation2 = (IFormation2) NCLocator.getInstance().lookup(
					IFormation2.class.getName());
		}
		return formation2;
	}

	public IBdgt_checked getIBdgt_checked() {
		if (bdgt_checked == null) {
			bdgt_checked = (IBdgt_checked) NCLocator.getInstance().lookup(
					IBdgt_checked.class.getName());
		}
		return bdgt_checked;
	}

	public IExpenses getIExpenses() {
		if (expenses == null) {
			expenses = (IExpenses) NCLocator.getInstance().lookup(
					IExpenses.class.getName());
		}
		return expenses;
	}

	public IBillNO getIBillNO() {
		if (billNO == null) {
			billNO = (IBillNO) NCLocator.getInstance().lookup(
					IBillNO.class.getName());
		}
		return billNO;
	}

	public Ibd_jobbasfil getIbd_jobbasfil() {
		if (bd_jobbasfil == null) {
			bd_jobbasfil = (Ibd_jobbasfil) NCLocator.getInstance().lookup(
					Ibd_jobbasfil.class.getName());
		}

		return bd_jobbasfil;
	}

	public ITravel getITravel() {
		if (travel == null) {
			travel = (ITravel) NCLocator.getInstance().lookup(
					ITravel.class.getName());
		}
		return travel;
	}

	public IKemu getIKemu() {
		if (kemu == null) {
			kemu = (IKemu) NCLocator.getInstance()
					.lookup(IKemu.class.getName());
		}
		return kemu;
	}

	public IPubInfoGet getIPubInfoGet() {
		if (pubInfoGet == null) {
			pubInfoGet = (IPubInfoGet) NCLocator.getInstance().lookup(
					IPubInfoGet.class.getName());
		}
		return pubInfoGet;
	}
	public IDBOperate getIDBOperate() {
		return (IDBOperate) NCLocator.getInstance().lookup(
				IDBOperate.class.getName());
	}
	public nc.itf.bugdet.report.Ireport getIreport(){
		return (nc.itf.bugdet.report.Ireport) NCLocator.getInstance().lookup(
				nc.itf.bugdet.report.Ireport.class.getName());
	}
	public Iauditmain getIauditmain() {
		return (Iauditmain) NCLocator.getInstance().lookup(
				Iauditmain.class.getName());
	}
	public Ideviceproperties getIdeviceproperties() {
		return (Ideviceproperties) NCLocator.getInstance().lookup(
				Ideviceproperties.class.getName());
	}
	public Ipiaojutaizhang getIpiaojutaizhang() {
		return (Ipiaojutaizhang) NCLocator.getInstance().lookup(
				Ipiaojutaizhang.class.getName());
	}
	public Izhixingbaobiao getIzhixingbaobiao() {
		return (Izhixingbaobiao) NCLocator.getInstance().lookup(
				Izhixingbaobiao.class.getName());
	}
	public IOther getIOther() {
		return (IOther) NCLocator.getInstance().lookup(
				IOther.class.getName());
	}
}
